﻿<h1>behavior.js</h1>

<h2>Description</h2>

<p>Defines a common set of widget behaviors used throughout the application.</p>

<table>
    <thead>
        <tr>
            <td>
                Class
            </td>
            <td>Behavior</td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                notification
            </td>
            <td>Fades out element after 2 seconds</td>
        </tr>
        <tr>
            <td>
                confirm
            </td>
            <td>Overrides the postback event with a confimarion dialog box, cancels if negative from user</td>
        </tr>
        <tr>
            <td>
                scanner
            </td>
            <td>When input reaches 4 or greater in length, fire click event on buttons with submit class</td>
        </tr>
        <tr>
            <td>
                scanSubmit
            </td>
            <td>The class of the paired submit button</td>
        </tr>

    </tbody>
</table>